//主数据表格配置
export const columns = [
  { title: '联系人姓名', dataIndex: 'smsName', key: 'smsName', align: 'center' },
  { title: '短信手机号', dataIndex: 'smsNum', key: 'smsNum', align: 'center' },
  { title: '类型', dataIndex: 'smsType', key: 'smsType', align: 'center' },
  {
    title: '操作',
    dataIndex: 'action',
    key: 'operation',
    width: 180,
    align: 'center',
    scopedSlots: { customRender: 'action' }
  }
]
//主数据查询配置
export const q_formInfos = [
  { label: '联系人姓名', name: 'smsName', type: 'input', placeholder: '联系人姓名' },
  { label: ['查询', '重置'], type: 'botton' }
]

export const q_formDatas = {
  smsName: null
}

//添加主数据表单配置
export const s_FormInfo = [
  { label: '联系人姓名', name: 'smsName', type: 'input', placeholder: '请输入联系人姓名' },
  { label: '短信手机号', name: 'smsNum', type: 'input', placeholder: '请输入短信手机号' },
  { label: '通知类型', name: 'smsType', type: 'input', placeholder: '请输入类型' },
  { label: ['保存', '重置'], type: 'botton' }
]

export const s_formDatas = {
  sysSeq: 0,
  pid: '',
  smsName: null,
  smsNum: null,
  smsType: null
}
export const s_rules = {
  smsName: [{ required: true, message: '联系人姓名必填', trigger: 'blur' }],
  smsNum: [{ required: true, message: '短信手机号必填', trigger: 'blur' }],
  // smsType: [{ required: true, message: '通知类型必填', trigger: 'blur' }]
}

//查看明细显示配置
export const infoDatas = [
  { title: '联系人姓名', id: 'smsName', value: '' },
  { title: '短信手机号', id: 'smsNum', value: '' },
  { title: '类型', id: 'smsType', value: '' }
]
